//-----------------------------------------------------------------------
// <copyright file="ArticleSubCatBase.cs" company="FetCo">
//     Copyright (c) FetCo. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace ADESSA.Entities
{
	[Serializable]
	public class ArticleSubCatBase
	{
		
		#region Variable Declarations
		public static string _Table = "ArticleSubCat";
		private long				subCategoryID = 0;
		private string				name = string.Empty;
		private string				nameEn = string.Empty;
		private string				image = string.Empty;
		private string				summary = string.Empty;
		private int				order = 0;
		private long				categoryID = 0;
		private string				desc = string.Empty;
		private long				parrentid = 0;
		private int				subcategoryLevel = 0;
		private string				imageThumnail = string.Empty;
		private string				code = string.Empty;
		private bool				menuRight = false;
		private long				userId = 0;
		private string				summaryEn = string.Empty;
		#endregion
		
		#region Constructors
		public ArticleSubCatBase() {}
		
		public ArticleSubCatBase (
			long subCategoryID,
			string name,
			string nameEn,
			string image,
			string summary,
			int order,
			long categoryID,
			string desc,
			long parrentid,
			int subcategoryLevel,
			string imageThumnail,
			string code,
			bool menuRight,
			long userId,
			string summaryEn)
		
		{
			this.subCategoryID = subCategoryID;
			this.name = name;
			this.nameEn = nameEn;
			this.image = image;
			this.summary = summary;
			this.order = order;
			this.categoryID = categoryID;
			this.desc = desc;
			this.parrentid = parrentid;
			this.subcategoryLevel = subcategoryLevel;
			this.imageThumnail = imageThumnail;
			this.code = code;
			this.menuRight = menuRight;
			this.userId = userId;
			this.summaryEn = summaryEn;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long SubCategoryID
		{
			get { return subCategoryID; }
			set { subCategoryID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Name
		{
			get { return name; }
			set { name = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string NameEn
		{
			get { return nameEn; }
			set { nameEn = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Image
		{
			get { return image; }
			set { image = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is ntext</value>
		public string Summary
		{
			get { return summary; }
			set { summary = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int Order
		{
			get { return order; }
			set { order = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long CategoryID
		{
			get { return categoryID; }
			set { categoryID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is ntext</value>
		public string Desc
		{
			get { return desc; }
			set { desc = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long Parrentid
		{
			get { return parrentid; }
			set { parrentid = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int SubcategoryLevel
		{
			get { return subcategoryLevel; }
			set { subcategoryLevel = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string ImageThumnail
		{
			get { return imageThumnail; }
			set { imageThumnail = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Code
		{
			get { return code; }
			set { code = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool MenuRight
		{
			get { return menuRight; }
			set { menuRight = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long UserId
		{
			get { return userId; }
			set { userId = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is ntext</value>
		public string SummaryEn
		{
			get { return summaryEn; }
			set { summaryEn = value; }
		}
	
		
		#endregion
	}//End Class
	
	public enum ArticleSubCatColumns
	{
		SubCategoryID,
		Name,
		NameEn,
		Image,
		Summary,
		Order,
		CategoryID,
		Desc,
		Parrentid,
		SubcategoryLevel,
		ImageThumnail,
		Code,
		MenuRight,
		UserId,
		SummaryEn
	}//End enum
}